/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;
import java.io.Serializable;

public class SanPhamBanTrongNgay implements Serializable{
	
	private String _tenSP;
	private int _sl;
	private double _gia;
	private double _thanhTien;

	public SanPhamBanTrongNgay(SanPhamBanTrongNgay tmp) {
		this._tenSP = tmp._tenSP;
		this._sl = tmp._sl;
		this._gia = tmp._gia;
		this._thanhTien = tmp._thanhTien;
	}

	public SanPhamBanTrongNgay() {
		this._tenSP = "";
		this._sl = 0;
		this._gia = 0;
		this._thanhTien = 0;
	}

	public SanPhamBanTrongNgay(String _tenSP, int _sl, double _gia, double _tt) {
		this._tenSP = _tenSP;
		this._sl = _sl;
		this._gia = _gia;
		this._thanhTien = _tt;
	}

	public String getTenSP() {
		return _tenSP;
	}

	public void setTenSP(String _tenSP) {
		this._tenSP = _tenSP;
	}

	public int getSl() {
		return _sl;
	}

	public void setSl(int _sl) {
		this._sl = _sl;
	}

	public double getGia() {
		return _gia;
	}

	public void setGia(double _gia) {
		this._gia = _gia;
	}

	public double getThanhTien() {
		return _thanhTien;
	}

	public void setThanhTien(double _tt) {
		this._thanhTien = _tt;
	}

	@Override
	public String toString() {
		return this._tenSP;
	}
}
